﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Transactions;

using IBatisNet.DataMapper;

namespace Pg.BioMedics.SDR.Data
{
    /// <summary>
    /// Data access initialization and utilization strategy interface. This 
    /// startegy defines methods for data mapper initialization, deinitialization
    /// </summary>
    public interface ITransactionStrategy
    {        
        Transaction Transaction { get; }

        void Begin();
        void Complete();
        void Close();
    }
}
